html {
  height: 100%;
}

body {
  background: #000;
  font-family: 'Tahoma', sans-serif;
  font-size: 12px;
  height: 100%;
}

/* Containers */

#gradient {
  background: #000000; /* Old browsers */
  background-image: url(../imagenes/bg.jpg);
  min-height: 100%;
}

#stars {
	background-image: url(../imagenes/bg.jpg);
	background-repeat: repeat;
}

#container {
  min-height: 100%;
  margin: 0 auto;
  min-width: 960px;
  max-width: 80%;
}

#container.logincontainer {
  max-width: 400px;
  min-width: 400px;
  padding-top: 150px;
}

#application {
  background: url(../imagenes/bg.png) repeat-x #e1e1e1;
  border-radius: 5px;
  box-shadow: 0px 2px 3px 0px #111;
  min-height: 250px;

  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 0px 2px 3px 0px #111;
  -moz-box-shadow: 0px 2px 3px 0px #111;
}

#container.logincontainer #application {
  background: #e1e1e1;
  min-height: 100px;
}

/* Header */

header {
  height: 95px;
}

#logo {
	background: url(../imagenes/logo.png) no-repeat center;
	float: left;
	height: 95px;
	text-indent: -9999px;
	width: 300px;
}

#userinfo {
  float: right;
  margin-top: 20px;
}

#userinfo imagenes {
  border-radius: 3px;
  box-shadow: 0px 2px 3px 0px #000;
  float: left;
  margin-right: 10px;
  
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 0px 2px 3px 0px #000;
  -moz-box-shadow: 0px 2px 3px 0px #000;
}

#userinfo .intro {
	display: inline;
	color: #666666;
	float: right;
	line-height: 18px;
	margin-top: 7px;
}

#userinfo .intro a {
	color: #666666;
}

/* Primary navigation */

nav#primary {
  border-bottom: 1px solid #3b3b3b;
  height: 80px;
}

nav#primary ul li {
  float: left;
  list-style: none;
  position: relative;
}

nav#primary ul li a {
  color: #595959;
  display: block;
  font-size: 11px;
  height: 70px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  width: 95px;
}

nav#primary ul li.current a {
  color: #1a88e9;
}

nav#primary ul li.current .icon {
  background-position: left center;
}

nav#primary .icon {
  background-repeat: no-repeat;
  background-position: right center;
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  padding: 20px 0;
  width: 25px;
}

.icon.dashboard { background-image: url(../imagenes/dashboard.png) }
.icon.chart { background-image: url(../imagenes/chart.png) }
.icon.tables { background-image: url(../imagenes/tables.png) }
.icon.anchor { background-image: url(../imagenes/anchor.png) }
.icon.pencil { background-image: url(../imagenes/pencil.png) }
.icon.gallery { background-image: url(../imagenes/gallery.png) }
.icon.modal { background-image: url(../imagenes/modal.png) }
.icon.newspaper { background-image: url(../imagenes/newspaper.png) }

.badge {
  background: url(../imagenes/badge.png) no-repeat;
  color: #fff;
  display: block;
  font-family: "Tahoma";
  font-size: 11px;
  height: 25px;
  padding-top: 5px;
  position: absolute;
  top: 10px;
  left: 50px;
  width: 25px;
}

input:focus {
  outline: none;
}

/* Secondary navigation */

nav#secondary {
  background: #3b3b3b;
  border-top: 1px solid #5f5f5f;
  height: 34px;
}

nav#secondary ul li {
  float: left;
  list-style: none;
}

nav#secondary ul li a {
  background: url(../imagenes/tab_inactive.png) repeat-x #484848;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  color: #f4f4f4;
  display: block;
  font-size: 11px;
  margin-left: 7px;
  margin-top: 7px;
  padding: 8px 20px;
  text-decoration: none;
  text-shadow: 0 -1px 0 #282828;
}

nav#secondary ul li.current a {
  background: #e1e1e1;
  color: #282828;
  text-shadow: 0 1px 0 #fff;
}

/* Content */

#content {
  padding: 25px;
  padding-top: 0;
}

/* Footer */

#copyright {
	color: #333;
	font-size: 11px;
	line-height: 40px;
	text-align: center;
	text-shadow: 0 1px 0 #000;
}

/* Search */

#search {
  background: url(../imagenes/search.png) 6px 6px no-repeat #fff;
  border: 1px solid #c7c7c7;
  border-radius: 20px;
  box-shadow: 0 1px 0 #fff;
  color: #282828;
  float: right;
  margin: 15px;
  margin-top: 27px;
  padding: 4px 10px;
  padding-left: 20px;
  width: 100px;
  
  -moz-border-radius: 20px;  
  -webkit-border-radius: 20px;
  -moz-box-shadow: 0 1px 0 #fff;
  -webkit-box-shadow: 0 1px 0 #fff;
}

#livesearch {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 2px #000;
  color: #282828;
  display: block;
  font-size: 11px;
  line-height: 18px;
  margin-top: 5px;
  max-height: 400px;
  overflow: auto;
  padding: 5px 0;
  position: absolute;
  z-index: 99;
  
  -moz-box-shadow: 0 1px 2px #000;
  -webkit-box-shadow: 0 1px 2px #000;
}

#livesearch ul li a {
  color: #282828;
  display: block;
  padding: 5px 10px;
  text-decoration: none;
}

#livesearch ul li a:hover {
  background: url(../imagenes/search_bg.png) repeat-x;
  color: #fff;
}

#livesearch strong {
  font-weight: bold;
  margin-left: 10px;
}

/* Columns */

.column { width: 49% }
.column.left { float: left }
.column.right { float: right }
.column.third { width: 32% }
.column.twothird { width: 66% }

/* Forms */

form section {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #eee;
  padding: 13px 0;
}

form section:first-child { border-top: none }
form section:last-child { border-bottom: none }

form section > div {
  color: #404040;
  font-size: 11px;
  margin-left: 35%;
  position: relative;
}

form section > label {
  color: #404040;
  float: left;
  font-size: 10px;
  font-weight: bold;
  margin-right: 5%;
  margin-top: 2px;
  text-transform: uppercase;
  width: 30%;
}

form section label small {
  color: #999;
  display: block;
  font-size: 11px;
  font-weight: normal;
  line-height: 13px;
  margin-top: 3px;
  text-transform: none;
}

form input[type="text"], form input[type="password"], form textarea {
  border-radius: 3px;
  border: 1px solid #c9c9c9;
  color: #404040;
  font-size: 11px;
  height: 28px;
  margin-bottom: 3px;
  padding: 0 6px;
  width: 95%;
  
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

form input.error { color: #840004 }
form input.xsmall { width: 10% }
form input.small { width: 20% }
form input.medium { width: 40% }
form input.large { width: 69% }

form textarea {
  height: 100px;
  padding-top: 4px;
}

form textarea.wysiwym { background: #fff }
form input:focus, form textarea:focus { outline: none }
textarea.wysiwyg { width: 99% }

label.radio, label.checkbox {
  color: #404040;
  font-size: 11px;
  padding: 3px 0;
}

section div label.error {
  top: 9px;
  color: #840004;
  position: absolute;
  right: 6px;
}

/* Select boxes */

select {
  cursor: pointer;
  width: 100%;
}

.cmf-skinned-select {
  background: url(../imagenes/select.png) right no-repeat;
  border: 1px solid #c3c3c3;
  border-radius: 3px;
  box-shadow: 0 1px 2px #ccc;
  height: 28px;
  margin-left: 0;
  padding: 5px;
  
  -moz-border-radius: 3px;
  -moz-box-shadow: 0 1px 2px #ccc;
  -webkit-border-radius: 3px;
  -webkit-box-shadow: 0 1px 2px #ccc;
}

.cmf-skinned-text {
  font-size: 11px;
  margin-left: 0;
  padding-left: 9px;
  padding-top: 7px;
}

/* Notifications */

#notifications {
  background: #fafafa;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  position: absolute;
  right: 10px;
  top: 0;
  z-index: 99;
  
  -moz-border-radius-bottomleft: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  -webkit-border-bottom-left-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

#notifications li {
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #fff;
  color: #696969;
  display: none;
  font-family: sans-serif;
  font-size: 11px;
  line-height: 22px;
  padding: 9px 30px 9px 43px;
  position: relative;
  width: 250px;
}

#notifications li:hover {
  background: url(../imagenes/notification_bg.png) repeat-x #156aa4;
  background-color: #166ba5;
  border-top: 1px solid #3a6584;
  color: #fff;
  cursor: pointer;
}

#notifications li:hover strong { color: #fff }
#notifications li:first-child { border-top: none }
#notifications li strong { color: #333 }

#notifications li:last-child { 
  border-bottom: none; 
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  
  -moz-border-radius-bottomleft: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  -webkit-border-bottom-left-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
}

#notifications .image {
  display: block;
  height: 16px;
  left: 14px;
  position: absolute;
  top: 11px;
  width: 16px;
}

#notifications .information { background-image: url(../imagenes/information.png) }
#notifications .warning { background-image: url(../imagenes/exclamation.png) }
#notifications .error { background-image: url(../imagenes/error.png) }
#notifications .success { background-image: url(../imagenes/success.png) }
#notifications .saved { background-image: url(../imagenes/saved.png) }

#notifications .tag {
  background: #c9c9c9;
  border-radius: 20px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  line-height: 12px;
  padding: 2px 7px;
  position: absolute;
  right: 14px;
  top: 11px;
  
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
}

/* Styles */

h1, h2, h3, h4, h5, h6 {
  color: #282828;
  line-height: 32px;
}

h1 {
  font-size: 20px;
  text-shadow: 0 1px 0 #fff;
}

h2 {
  font-size: 18px;
  margin: 16px 0;
  text-shadow: 0 1px 0 #fff;
}

h3 { font-size: 16px }
h4 { font-size: 14px }
h5 { font-size: 12px }

p { text-align: justify }

p, blockquote, pre {
  color: #282828;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 16px;
}

blockquote {
  border-left: 4px solid #999;
  font-style: italic;
  margin-left: 16px;
  padding-left: 16px;
  text-align: justify;
}

pre {
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: monospace;
  overflow: auto;
  padding: 16px;
  
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

strong { font-weight: bold }
em { font-style: italic }

#content ul, ol {
  color: #282828;
  line-height: 16px;
  margin: 0 24px 16px 24px;
}

#content ul { list-style: disc }
#content ol { list-style: decimal }
#content li > ul, #content li > ol { margin: 0 24px }
#content li > ul { list-style: circle }

table {
  background: #fff;
  border: 1px solid #ccc;
  color: #282828;
  margin-bottom: 16px;
  padding: 5px;
  width: 100%;
}

thead, th {
  background: #eee;
  font-weight: bold;
  text-align: left;
}

tr { border-bottom: 1px solid #ddd }

td, th {
  border-right: 1px solid #ddd;
  padding: 10px;
}

.clear { clear: both }
a:focus { outline: none }
